package com.dz.lm.dao.usercollection.read;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.usercollection.UserCollection;
import com.dz.lm.domain.usercollection.UserCollectionExample;

import java.util.List;

@ReaderRepository("readUserCollectionDao")
public interface UserCollectionDao {
    List<UserCollection> selectByExample(UserCollectionExample example) throws DaoException;

    UserCollection selectByPrimaryKey(Long collectId)throws DaoException;

    int queryCount(UserCollectionExample example) throws DaoException;

}